﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Models;
using PetaPoco;

namespace DAL.MySQL
{
    public class sysinfoDAL
    {
        public Database db = DbScoure.DataBase();

        public sysinfoEntity GetOne()
        {
            return db.SingleOrDefault<sysinfoEntity>("select * from sysinfo where id=1");
        }
    }
}
